﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HealthSystem.ReportPage
{
    public class ReportCofig
    {
        public static List<ReportYear> GetReportYear()
        {
            List<ReportYear> list = new List<ReportYear>();
            int year= DateTime.Now.Year;
            ReportYear ry = null;
            for (int i = year; i >= 2009; i--)
            {
                ry = new ReportYear()
                {
                    YearCode = i.ToString(),
                    YearName = i.ToString() + "年",

                };
                list.Add(ry);
            }
            return list;
        }
        public static void GetSchoolType()
        {

        }
    }
    public class ReportYear
    {
        public string YearCode { get; set; }
        public string YearName { get; set; }
    }
}